Johan van Niekerk wrote:
I need some help with OpenOffice.org 2.0 BASIC syntax. My problem is illustrated here with a simple example. Suppose I have a database with two fields, ITEM (field type = text) and COUNT (field type = integer). The fields have the following records: ITEM, COUNTA, 4B, 6A, 3A, 9 I create a form (In Blocks * Labels Above) and a button named ADD. When the ADD button is pressed it should read (copy) the values of the current record, add a new record and automatically copy the values of the previous record into the appropriate fields of the new record. I have trouble with the syntax of the macro responsible for this. Can someone please provide me with the correct syntax? Thank you in advanceJohan van Niekerk
Hi Johan,
I have been too busy to implement this, but I do have examples in my database ramblings document on my database page on my web site. It does not intentionally answer your questions, but it is likely to help you a bit.
The tricky part here is that you are dealing with forms, or so it seems, and I essentially no code dealing with forms made public yet. My new daughter is taking a lot of my time...
What part is giving you difficulties? -- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt My Book: http://www.hentzenwerke.com/catalog/oome.htm Info: http://www.pitonyak.org/oo.php See Also: http://documentation.openoffice.org/HOW_TO/index.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
