Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to append blank when table is NULL
Message
De
01/03/2002 05:04:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/03/2002 04:58:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00626850
Message ID:
00626862
Vues:
9
>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
Ç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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform