Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Bases";
Current archive: 2003.05.01;
Download: [xml.tar.bz2];

Down

Connection of two tables Find similar branches


Pat   (2003-04-11 17:38) [0]

There are two tables. They need to be linked with each other. But while the program is running, you need to change the Master and Detail tables in places, i.e. the table that was Master should be Detail and vice versa. Plus Detail table is always the Master table for thirds. Advise how to do it better ...



MsGuns   (2003-04-11 19:37) [1]

Which components + which database?



Pat   (2003-04-11 19:40) [2]

Access via Ado
Provider = Microsoft.Jet.OLEDB.4.0



MsGuns   (2003-04-11 19:42) [3]

True, there are ways more or less universal:

1. Through related requests. To change the vertical, close both NDs and re-register the DataSource data sheet (in the new master, empty, in the new item, the New Master) and then open

2. 2 forms (panels) with two pairs of TDataSource-> TDataSet-> on the same pair of tables. Depending on the mode of the panel, we switch it over.



Pat   (2003-04-11 22:14) [4]

Thanks for the advice, in principle, I also wanted to do it. I will stop, perhaps, on the second ... I will throw PageControl. And forward :-))



Pages: 1 whole branch

Forum: "Bases";
Current archive: 2003.05.01;
Download: [xml.tar.bz2];

Top









Memory: 0.56 MB
Time: 0.021 c
3-439
Sanya
2003-04-13 18:54
2003.05.01
Help move the record


7-823
Elman
2003-03-12 01:32
2003.05.01
Work with a non-standard device


14-677
Brand2000
2003-04-15 06:32
2003.05.01
Why is the code buggy ???????


3-409
volodya_
2003-04-11 15:07
2003.05.01
MS SQL Server 2000


3-457
Desperado
2003-04-14 09:22
2003.05.01
arrays in ib





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish