Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key : Remote View
Message
 
À
03/02/2003 09:21:19
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00747874
Message ID:
00748392
Vues:
31
Steps I am doing :
1 - Hit new button from toolbar. (this insert a new row in the grid)
2 - type information in cells.
3 - Hit the Save button from toolbar
4 - Get the message : Server did not assign a primary key.
Pretty basic...

There is more information about the CDE.
cdatabase : Data\appdata.dbc
ctype : Rview
cworkarea : Rv_rapports_bdm_rel_acct
lautopk : .T.
lexclusive : .F.
lqueryremotepk : .T.
lupdateonrowchange : .T.
nbuffermode : 3

There is information about the remote view
send sql updates : .t.
update all except the primary key
primary key value define in SQL Server : (newid())
Advance options : share connection = .t.
Advance options : data fetching = all
Advance options : maximum 1 record fetching : all
Advance options : fetch memo = .f.
Advance options : fetch remote data as needed = .f.
Advance options : include memo fields in where = .t.
Advance options : precompile SQL on backend = .t.

There is information about the form
cdataenvironment : ="Test"
data environment = empty
1 grid : class : grdgridcustom
4 columns : txttextboxcustom

Hopefully, you will find something ...

Thx
André
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform