Hi, I'm doing database related application in Visual
Basic 6.0. I ran into problem when I want to pass the ID
(primary field) to the other form, how could I do that?
Are you displaying this ID in a textbox or other object on the form? If
so, then you can get it by referencing it from another form. For
example, in form2, you can say ...
myID = form1.textbox1.text
Jackie wrote:
Hi, I'm doing database related application in Visual Basic 6.0. I ran into problem when I want to pass the ID (primary field) to the other form, how could I do that?
Easiest way is you can declare you Global function and
variables in VB6 modules.
or you can pass variables to child form.
good day there
Ahsan
-----Original Message----- Hi, I'm doing database related application in Visual Basic 6.0. I ran into problem when I want to pass the ID (primary field) to the other form, how could I do that?
Hi, I'm doing database related application in Visual Basic 6.0. I ran into problem when I want to pass the ID (primary field) to the other form, how could I do that?
Please let me know soon!! Thanks, Jackie
Add a public property or public method to the form and access/call it.
This is a VB.Net group. For older versions please turn to
microsoft.public.vb.*
--
Armin
Hi guys,
As I am new to Python, i was wondering how to declare and use global
variables. Suppose i have the following structure in the same module (same
file):
def foo:
<instructions>...
I have been working on a function which makes it easier for me to pull
variables from the URL. So far I have:
<script language="JavaScript">
var variablesInUrl;
var vArray = new Array();
...
I'm having a vexing problem with global variables in Python. Please
consider the following Python code:
#! /usr/bin/env python
def tiny():
bar =
for tmp in foo:
bar.append(tmp)
foo = bar
C++: The Case Against Global Variables
Summary
This article explores the negative ramifications of using global variables. The use of global variables is such a problem that C++ architects have...
When I control if I print messages, I usually use a global variable
"int silent". When I set "-silent" flag in my command line
parameters, I set silent = 1 in my main.c.
I have many functions...
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...