473,386 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

CA-Clipper to mysql help??

Can anyone help me create a sql querry with the following clipper/dbase code
or help me understand what the hell it means???
If you can help please don't hesitate to contact me at
ma***********@magma.ca.
remove the NOSPAM from my e-mail.

Thanks in advance to all of you that take the time to look at this post!!
Here is the code:

STATIC FUNCTION Termination

@ ++nL,01 SAY 'Terminations: '
SELECT 2
SET INDEX TO ( 'j:\files\hris\'+cPrevHRIS+'si' )
SELECT 3
SET INDEX TO ( 'j:\files\hris\st'+cStaff+'sin' )
SET FILTER TO END # CTOD('')
SELECT 1
SET INDEX TO
SET RELATION TO SIN INTO ( cPrevHRIS ), SIN INTO ( 'st'+cStaff )
SET FILTER TO END # CTOD('') .AND. RIGHT(TYPE,3) = 'REG' .AND. ;
2->END = CTOD('') .AND. 3->(EOF())
COPY TO ( 'f:\files\dbval\terminat' )
IF !OpenFiles({{ 15, { 'f:\files\dbval\terminat' }, 'Terminations', .T.,
0 }})
BREAK
ENDIF
SET RELATION TO SIN INTO ( 'dldm' )
DELETE FOR 11->(FOUND())
PACK
REPLACE LEVEL WITH SearchDl( SIN ) ALL
@ nL,30 SAY LASTREC() PICT '99,999'
USE
SELECT 3; SET INDEX TO; SET FILTER TO
SELECT 2; SET INDEX TO
SELECT 1; SET RELATION TO; SET FILTER TO

RETURN NIL

Jul 20 '05 #1
0 1076

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dmitry Akselrod | last post by:
Hello everyone, I am in the process of implementing an internal Certificate Authority on a client's network. The CA will issue certificates to several intranet web apps that will be accessible...
4
by: Dave Patton | last post by:
I'd appreciate any feedback on http://www.elac.bc.ca/ particularly in regards to the stylesheet. http://www.elac.bc.ca/style.css only has one line: @import "elac.css"; so the 'real stuff' is in:...
1
by: Printronix | last post by:
Printronix, Inc - Irvine C Full Time position. We are looking for local candidates only at this time. No third party agencies or recruiters please. Thank You Salary: Up to $90K DO STAFF WEB...
2
by: mattsh | last post by:
I am having some issues adding user logins to SQL Server. When I search for users in Active Directory from Security->Logins->New Login, I can search for and add users using the short name...
0
by: Guy Macon | last post by:
"Alan J. Flavell" <flavell@ph.gla.ac.uk> wrote: > But the character encoding scheme which is advertised from an HTTP > server via the MIME "charset=" is authoritative, according to RFC2616, >...
17
by: ARC | last post by:
I've dealt with blue screens that frequently occur while developing in MS Access (really bad in Access 97, not quite as bad in later versions of Access). Finally, I had a blue screen that mentioned...
4
by: =?Utf-8?B?SGVyYg==?= | last post by:
For some reason my application now requires that I "Sign the ClickOnce manifests". I don't know that it ever has before. I clicked the "Create Test Certificate" and after a reinstall everything is...
0
by: =?Utf-8?B?ZGF2aWRjaHVnaGVz?= | last post by:
I am about to DCPROMO a server which is also the CA but i need to keep the server name as it is still required as a member server. I have read MS documents that state I have to rename the new DC to...
3
by: Marcin Jurczuk | last post by:
Hello, I'm fighting with Certificate Authority functionality with python I stuck on following problem: How to sign CSR using CA key and write resulted certificate. You can do it using following...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
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
1
by: Sonnysonu | last post by:
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
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,...
0
by: Hystou | last post by:
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...
0
Oralloy
by: Oralloy | last post by:
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.