Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to append blank when table is NULL
Message
From
01/03/2002 05:08:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/03/2002 05:04:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00626850
Message ID:
00626864
Views:
12
>>Hi,Cetin Basoz
>> I had checked all the textboxs that are enabled but they can not been added and edited when adding new record.(The table is NULL first).
>> Because if the table has record, they can be append blank and edit.But if
>>the table has no record(NULL) first,they can not be added.
>>Do you understand me ? Thank you.
>
>Not sure :)
>If I read you correct you mean :
>-table has no records yet
>-textboxes have controlsources as alias.fieldname
>-And you want to edit them
>
>If that's the case no you cannot. You should use some workarounds. ie:
>-Add a custom property to form called oRec
>Select myTable
>scatter name thisform.oRec
>
>-Change controlsources to thisform.oRec.FieldName
>
>When saving you could gather name Thisform.oRec as appropriate.
>Cetin
BTW, if you use buffering (do use) you could simply add one if table is empty and you could tablerevert() or tableupdate().
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform